﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<TanHungViet.Web.Models.MenuItem>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	TRANG SITEMAP - TÂN HƯNG VIỆT - HOTLINE: 0835.125.795
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <div class="title-mainright">
	    <h2 class="text1">SITEMAP</h2>
    </div>
    
	<div class="content">
		<div class="top-box2"><img src='<%=Url.Content("~/Content/images/top-box2.jpg")%>'/> </div>		
			<div class="center-box2">
			   <div id="center_nd">
			        <center>
			            <table border="0" cellspacing="0" cellpadding="0">
		                    <tbody>
		                        <% int i = 0; %>
		                        <% foreach( var item in Model){ %>
		                            <% if(i%2==0){ %>
		                                <tr>
		                            <%} %>
		                            
		                            <td width="200" valign="top">
			                            <div class="menu_vn">
		                                    <a href="<%=item.Link%>" class="menuleft_vn"><%=item.Title%></a></div><div style="text-align:left">
		                                    <% foreach (var sub in item.SubMenu){%>
		                                        <p>&nbsp;<img src='<%=Url.Content("~/Content/images/ico_list.gif")%>'/>
			                                        <a href="<%=sub.Link%>" class="menuleft_subvn"><%=sub.Title%></a>
		                                        </p>
		                                    <%} %>
		                                </div>
		                            </td>
			                        <td>&nbsp;</td>
		                            
		                            <% if(i%2!=0){ %>
		                                </tr>
		                            <%} i++;%>
		                        <%} %>
		                        
		                    </tbody>
		               </table>
		          </center>			
			    </div>
			</div> 
		<div class="bottom-box2"><img src='<%=Url.Content("~/Content/images/bottom-box2.jpg")%>'></div>           	
	</div> 

</asp:Content>
